<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<div style="width:0px;height:0px" id="root">123</div>
<body>
<script>
  function getQueryString(name) {
    let reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
    let r = window.location.search.substr(1).match(reg);
    if (r != null) {
      return decodeURIComponent(r[2]);
    };
    return null;
  }
  (function start() {




    var type = getQueryString('type')
    var id = getQueryString('id')
    var mid = getQueryString('mid')
    console.log(id)
    
  })()

</script>
</body>
</html>
